import SortMovies from "../pages/sortmovies/SortMovies.js";
import AddSortMovies from "../pages/sortmovies/addSortMovies.js";
import ChooseSeat from "../pages/sortmovies/chooseSeat.js";

export default {
    "/sort-movies": {
        on() {
            new SortMovies({ el: ".info-content" });
        }
    },
    "/addSortMovies": {
        on() {
            new AddSortMovies({ el: ".info-content" });
        }
    },
    "/chooseSeat/:_id": {
        on(_id) {
            new ChooseSeat({ el: ".info-content", _id });
        }
    }
}